Freemius\FS_Permission_Manager A

Total Complexity 62
Dependencies 3
Dependents 3
Total lines 689
Lines of code 332
Logical lines of code 77
Comment lines 230
Methods 37
Properties 3

Methods 37

Method Rating Maintainability Complexity Lines of code
update_site_tracking()
S
63 5 10
get_license_required_permissions()
S
48 2 39
get_opt_in_diagnostic_permissions()
S
50 2 33
get_extensions_permission()
S
59 3 14
update_permission_tracking_flag()
S
62 3 12
get_diagnostic_permission()
S
58 2 16
is_permission()
S
59 2 15
get_permission()
S
57 2 15
are_permissions()
S
67 3 8
get_permission_default()
S
67 3 9
is_diagnostic_tracking_allowed()
S
73 2 5
update_permissions_tracking_flag()
S
73 2 5
instance()
S
68 2 7
get_site_permission_name()
S
75 2 5
get_site_tracking_permission_names()
S
69 2 8
get_permissions()
S
74 2 5
is_premium_context()
S
80 2 3
is_permission_allowed()
S
70 2 6
get_user_permission()
S
62 1 13
get_all_permission_ids()
S
66 1 11
render_permission()
S
80 1 3
render_permissions_group()
S
75 1 4
require_permissions_js()
S
80 1 3
is_permission_set()
S
65 1 10
is_extensions_tracking_allowed()
S
79 1 3
is_homepage_url_tracking_allowed()
S
79 1 3
is_essentials_tracking_allowed()
S
79 1 3
__construct()
S
75 1 4
get_newsletter_permission()
S
65 1 10
get_license_optional_permissions()
S
72 1 6
get_license_activation_permissions()
S
68 1 8
get_opt_in_optional_permissions()
S
66 1 10
get_opt_in_required_permissions()
S
81 1 3
get_opt_in_permissions()
S
68 1 8
is_supported_permission()
S
79 1 3
get_api_managed_permission_ids()
S
71 1 7
get_sorted_permissions_by_priority()
S
73 1 5